package com.wcy.service;

import com.wcy.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>Title:SysPrivilegeService.java</p >
 * <p>Description: </p >
 * <p>Copyright: 公共服务与应急管理战略业务本部 Copyright(c)2020</p >
 * <p>Date:2021/9/18 22:14</p >
 *
 * @author wcy (wangchaoyanga@mail.taiji.com.cn)
 * @version 1.0
 */
public interface SysPrivilegeService extends IService<SysPrivilege> {

    /**
     * 获取所有权限
     * @param menuId 菜单ID
     * @param roleId 当前查询的角色ID
     * @return
     */
    List<SysPrivilege> getAllSysPrivilege(Long menuId,Long roleId);
}
